import Vue from 'vue';
import { getStorageSync, setStorageSync } from '../core/cache.js';
//上传页面访问数据
export const uploadPageInfo = (activityId,url,page) => {
	var that = this;
	
	var id = activityId;
	
	let token = getStorageSync(Vue.prototype.$const.USER_TOKEN_KEY)
	uni.request({
	    url: url,
	    method: 'get',
		header:{'jwt':token},
	    data: {
	    	pagePath: page,
	    	addons:'pond',
	    	id:id
	    },
	    success: (res) => {
	        console.log(res);
	    }
	});
}